package com.example.cms.dao;


import java.util.List;

import com.example.cms.pojo.QueryPage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.example.cms.entity.Order;

@Repository
public interface OrderDao {
	public List<Order> getAllOrders(QueryPage queryPage);//获得所有订单信息

	public Integer getOrdersNum();//查询所有订单数量

	public List<Order> getAllOrdersById();//获得单个用户所有订单信息

	public Integer deleteOrder(Integer orderId);//删除订单

	public Integer updaeOrder(Order order);//修改订单

	public Integer insertOrder(Order order);//增加订单
}
